package com.oc.claimobs.bb.model;

import java.io.IOException;

import ar.com.lemil.j2me.serialization.IObjectOutputStream;
import ar.com.lemil.j2me.serialization.ISerializable;

public abstract class SerializableBase implements ISerializable {

	public void writeObject(IObjectOutputStream iobjectoutputstream)
			throws IOException {
		iobjectoutputstream.writeASC(this.toString());
	}
	
	public boolean equals(Object obj) {
		return this.toString().equals(obj.toString());
	}

}
